package com.ywqf_api.enums;

public enum  ClientEnum {
    FIND_ERROR(1,"查询失败"),
    SUCCESS(1000,"成功"),
    INSERT_SUCCESS(1001,"新增成功"),
    INSERT_ERROR(2,"新增失败"),
    EDIT_SUCCESS(1002,"修改成功"),
    EDIT_FAIL(3,"修改失败"),
    DELETE_SUCCESS(1003,"删除成功"),
    NO_DATA(1000,"无数据"),
    DELETE_FAIL(4,"删除失败");
    private int code;
    private String message;

    ClientEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
